package com.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * order
 * @author 
 */
public class Order implements Serializable {
    private Integer orderId;

    private String orderNo;

    private Integer roomid;

    private Integer customerid;

    private Date from;

    private Date to;

    /**
     * 押金
     */
    private Double deposit;

    /**
     * 是否结束
     */
    private Byte isClosed;

    /**
     * 订单费用(订单结束后)

     */
    private Double orderMoney;
   /*  private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }*/

    private User user;
    private List<OrderDetail> infoes;

    public List<OrderDetail> getInfoes() {
        return infoes;
    }

    public void setInfoes(List<OrderDetail> infoes) {
        this.infoes = infoes;
    }

    private static final long serialVersionUID = 1L;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getRoomid() {
        return roomid;
    }

    public void setRoomid(Integer roomid) {
        this.roomid = roomid;
    }

    public Integer getCustomerid() {
        return customerid;
    }

    public void setCustomerid(Integer customerid) {
        this.customerid = customerid;
    }

    public Date getFrom() {
        return from;
    }

    public void setFrom(Date from) {
        this.from = from;
    }

    public Date getTo() {
        return to;
    }

    public void setTo(Date to) {
        this.to = to;
    }

    public Double getDeposit() {
        return deposit;
    }

    public void setDeposit(Double deposit) {
        this.deposit = deposit;
    }

    public Byte getIsClosed() {
        return isClosed;
    }

    public void setIsClosed(Byte isClosed) {
        this.isClosed = isClosed;
    }

    public Double getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(Double orderMoney) {
        this.orderMoney = orderMoney;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}